package org.xg.study.pd.channel;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xg.study.pd.mode.IPayMode;

import java.math.BigDecimal;

/**
 * @author CMG
 * @version 1.0
 * @cLassName Pay
 * @description
 * @date 2021/9/14 14:59
 **/
public abstract class Pay {
    protected Logger logger = LoggerFactory.getLogger(Pay.class);

    protected IPayMode payMode;

    public Pay(IPayMode payMode){
        this.payMode = payMode;
    }

    public abstract String transfer(String uId, String tradeId, BigDecimal amount);
}
